Tegra210: power off all DMA masters before System Suspend entry
authorVarun Wadekar <[email protected]>
Mon, 5 Mar 2018 18:19:37 +0000 (10:19 -0800)
committerVarun Wadekar <[email protected]>
Thu, 31 Jan 2019 16:48:56 +0000 (08:48 -0800)
commit2d5560f928544f375c9e757d3a271bac980c0bef
tree00a6b77ebf6467836062233f65698af2e8e4ae80
parent278d599c11f356c05ac57b36a20e9eaa4b7fe721
Tegra210: power off all DMA masters before System Suspend entry

This patch puts all the DMA masters in reset before starting the System
Suspend sequence. This helps us make sure that there are no rogue agents
in the system trying to over-write the SC7 Entry Firmware with their own.

Change-Id: I7eb39999d229951e612fbfeb9f86c4efb8f98b5a
Signed-off-by: Varun Wadekar <[email protected]>
plat/nvidia/tegra/include/t210/tegra_def.h
plat/nvidia/tegra/soc/t210/plat_psci_handlers.c
plat/nvidia/tegra/soc/t210/plat_setup.c